package homework.homework_4.chartool;

/**
 * @author 朱
 * @date 2019032121:28
 */

/**
 * 2）定义类WeiBo，继承ChatTool类
 * 增加fans()方法，输出“WeiBo求粉”
 * send()方法：调用fans()方法，再输出“WeiBo发消息”
 * login()：输出“WeiBo登录”；exit()：输出“WeiBo退出”
 */
public class WeiBo extends CharTool{
   public String fans(){
       return "WeiBo求粉";
   }
    @Override
    public String login() {
        return "WeiBo登录";
    }

    @Override
    public String send() {
        System.out.println(fans());
        return "WeiBo发消息";
    }

    @Override
    public String exit() {
        return "WeiBo退出";
    }
}
